package com.example.sls.pojo.teacher;


import com.example.sls.pojo.Class._Class;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor

public class Teacher implements Serializable {

    private Integer id;
    private Integer  teacherId;  //教师id
    private String name;  //教师姓名

    private List<_Class> classes;  //老师管理的班级

    public Teacher(Integer id, Integer teacherId, String name) {
        this.id = id;
        this.teacherId = teacherId;
        this.name = name;
        classes = null;
    }
}
